/*

Author   : chaos

FileName : tmp_fun.cpp

Date     : 15/08/17 22:25:29
*/
#include <iostream>
using namespace std;

template <class TYPE> void Max(TYPE a ,TYPE b)
{
    cout << "Maxium is ";
    if (a > b)
        cout << a;
    else
        cout << b;

    cout << "." << endl;
}

int main(int argc ,char *argv[])
{
    int a = 2, b = 3;
    char c = 'A', d = 'B';

    Max(a,b);
    Max(c,d);
    return 0;
}
